package com.right.health.app.net;


import com.magics.http.model.HttpParams;

import org.json.JSONArray;
import org.json.JSONObject;

import java.util.List;

public class ConsultApi extends IBaseApi {
    /**
     * 获取聊天成员昵称头像
     * @param list
     */
    public  void getChatMemberInfo(List<String> list ){
        HttpParams params = new HttpParams();
        try {
            JSONArray jsonArray = new JSONArray(list);
            JSONObject jsonObject = new JSONObject();
            jsonObject.put("ids" , jsonArray);
            params.addFormParam("jsonstr", jsonObject.toString());
        } catch (Exception e) {
            e.printStackTrace();
        }
        doPostJson(HttpConstants.API_QUERY_CHAT_MEMBER_INFO, params, null);
    }
}
